//
//  ResetWithDrawOpeartion.m
//  PlayBall
//
//  Created by yanfa on 16/5/6.
//
//

#import "ResetWithDrawOpeartion.h"

@implementation ResetWithDrawOpeartion
- (void)main{
    JddNetDataCommunication *netDataCommunication = [[JddNetDataCommunication alloc] init];
    
    NSString *bodyString = [JddParameterBuilder resetWithdrawCashOperationOldPw:self.oldPw newPw:self.nnewPw];
    
    NSData *dataInitiatePlan = [netDataCommunication requestDataByPostBodyData:[bodyString dataUsingEncoding:NSUTF8StringEncoding]];
    
    [((NSObject*)self.delegate) performSelectorOnMainThread:@selector(ResetWithDrawOpeartionResult:) withObject:dataInitiatePlan waitUntilDone:NO];
}
@end
